Promise.reject = function(item) {
    return new Promise((resolve, reject) => {
        reject(item)
    })
}

let p1 = new Promise((resolve, reject) => {
    resolve('hhhhh')
})

Promise.reject(p1).then(res => console.log(res))
.catch(err => console.log(err, 11111))